package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Coupon)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:15:43
 */
@ApiModel(value = "优惠券")
public class Coupon implements Serializable {
    private static final long serialVersionUID = -91196754840358035L;
    /**
     * 优惠券id(主键)
     */
    @ApiModelProperty(name = "couponId",notes = "优惠券id(主键)",value = "优惠券id(主键)")
    private Integer couponId;
    /**
     * 优惠券名称
     */
    @ApiModelProperty(name = "couponName",notes = "优惠券名称",required = true,value = "优惠券名称")
    private String couponName;
    /**
     * 优惠券状态(0:已删除 1:未删除)
     */
    @ApiModelProperty(name = "couponStatus",notes = "优惠券状态(0:已删除 1:未删除)",value = "优惠券状态(0:已删除 1:未删除)")
    private Integer couponStatus;
    /**
     * 订单下限
     */
    @ApiModelProperty(name = "couponLol",notes = "订单下限",required = true,value = "订单下限")
    private Double couponLol;
    /**
     * 发放日期始
     */
    @ApiModelProperty(name = "couponDoi",notes = "发放日期始",value = "发放日期始")
    private Date couponDoi;
    /**
     * 发放日期起
     */
    @ApiModelProperty(name = "couponFid",notes = "发放日期起",value = "发放日期起")
    private Date couponFid;
    /**
     * 优惠券类型
     */
    @ApiModelProperty(name = "couponType",notes = "优惠券类型",required = true,value = "优惠券类型")
    private Integer couponType;
    /**
     * 优惠券金额
     */
    @ApiModelProperty(name = "couponAmount",notes = "优惠券金额",required = true,value = "优惠券金额")
    private Double couponAmount;
    /**
     * 订单金额
     */
    @ApiModelProperty(name = "couponOa",notes = "订单金额",required = true,value = "订单金额")
    private Double couponOa;
    /**
     * 有效日期起
     */
    @ApiModelProperty(name = "couponEd",notes = "有效日期起",value = "有效日期起")
    private Date couponEd;
    /**
     * 有效日期始
     */
    @ApiModelProperty(name = "couponEdf",notes = "有效日期始",value = "有效日期始")
    private Date couponEdf;
    /**
     * 商品关键字
     */
    @ApiModelProperty(name = "couponPk",notes = "商品关键字",required = true,value = "商品关键字")
    private String couponPk;
    /**
     * 所需积分
     */
    @ApiModelProperty(name = "couponRp",notes = "所需积分",required = true,value = "所需积分")
    private Integer couponRp;
    /**
     * 使用时间
     */
    @ApiModelProperty(name = "couponUt",notes = "使用时间",value = "使用时间")
    private String couponUt;
    /**
     * 商品id(外键)
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id(外键)",value = "商品id(外键)")
    private Integer goodsId;
    /**
     * 订单号id(外键)
     */
    @ApiModelProperty(name = "orderId",notes = "订单号id(外键)",value = "订单号id(外键)")
    private Integer orderId;
    /**
     * 会员id(外键)
     */
    @ApiModelProperty(name = "memberId",notes = "会员id(外键)",value = "会员id(外键)")
    private Integer memberId;
    /**
     * 优惠券发放数量
     */
    @ApiModelProperty(name = "couponQi",notes = "优惠券发放数量",value = "优惠券发放数量")
    private Integer couponQi;
    /**
     * 优惠券使用数量
     */
    @ApiModelProperty(name = "couponUa",notes = "优惠券使用数量",value = "优惠券使用数量")
    private Integer couponUa;
    /**
     * 优惠券剩余数量
     */
    @ApiModelProperty(name = "couponRa",notes = "优惠券剩余数量",value = "优惠券剩余数量")
    private Integer couponRa ;
    /**
     * 优惠券序列号
     */
    @ApiModelProperty(name = "couponNum",notes = "优惠券序列号",value = "优惠券序列号")
    private Integer couponNum ;


    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public Integer getCouponStatus() {
        return couponStatus;
    }

    public void setCouponStatus(Integer couponStatus) {
        this.couponStatus = couponStatus;
    }

    public Double getCouponLol() {
        return couponLol;
    }

    public void setCouponLol(Double couponLol) {
        this.couponLol = couponLol;
    }

    public Date getCouponDoi() {
        return couponDoi;
    }

    public void setCouponDoi(Date couponDoi) {
        this.couponDoi = couponDoi;
    }

    public Date getCouponFid() {
        return couponFid;
    }

    public void setCouponFid(Date couponFid) {
        this.couponFid = couponFid;
    }

    public Integer getCouponType() {
        return couponType;
    }

    public void setCouponType(Integer couponType) {
        this.couponType = couponType;
    }

    public Double getCouponAmount() {
        return couponAmount;
    }

    public void setCouponAmount(Double couponAmount) {
        this.couponAmount = couponAmount;
    }

    public Double getCouponOa() {
        return couponOa;
    }

    public void setCouponOa(Double couponOa) {
        this.couponOa = couponOa;
    }

    public Date getCouponEd() {
        return couponEd;
    }

    public void setCouponEd(Date couponEd) {
        this.couponEd = couponEd;
    }

    public Date getCouponEdf() {
        return couponEdf;
    }

    public void setCouponEdf(Date couponEdf) {
        this.couponEdf = couponEdf;
    }

    public String getCouponPk() {
        return couponPk;
    }

    public void setCouponPk(String couponPk) {
        this.couponPk = couponPk;
    }

    public Integer getCouponRp() {
        return couponRp;
    }

    public void setCouponRp(Integer couponRp) {
        this.couponRp = couponRp;
    }

    public String getCouponUt() {
        return couponUt;
    }

    public void setCouponUt(String couponUt) {
        this.couponUt = couponUt;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getCouponQi() {
        return couponQi;
    }

    public void setCouponQi(Integer couponQi) {
        this.couponQi = couponQi;
    }

    public Integer getCouponUa() {
        return couponUa;
    }

    public void setCouponUa(Integer couponUa) {
        this.couponUa = couponUa;
    }

    public Integer getCouponRa() {
        return couponRa;
    }

    public void setCouponRa(Integer couponRa) {
        this.couponRa = couponRa;
    }

    public Integer getCouponNum() {
        return couponNum;
    }

    public void setCouponNum(Integer couponNum) {
        this.couponNum = couponNum;
    }

    @Override
    public String toString() {
        return "Coupon{" +
                "couponId=" + couponId +
                ", couponName='" + couponName + '\'' +
                ", couponStatus=" + couponStatus +
                ", couponLol=" + couponLol +
                ", couponDoi=" + couponDoi +
                ", couponFid=" + couponFid +
                ", couponType='" + couponType + '\'' +
                ", couponAmount=" + couponAmount +
                ", couponOa=" + couponOa +
                ", couponEd=" + couponEd +
                ", couponEdf=" + couponEdf +
                ", couponPk='" + couponPk + '\'' +
                ", couponRp=" + couponRp +
                ", couponUt='" + couponUt + '\'' +
                ", goodsId=" + goodsId +
                ", orderId=" + orderId +
                ", memberId=" + memberId +
                ", couponQi=" + couponQi +
                ", couponUa=" + couponUa +
                ", couponRa=" + couponRa +
                ", couponNum=" + couponNum +
                '}';
    }
}